package com.blm.common;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Message {
    public enum MessageType {
        MERCHANT_ORDER_CREATE,
        MERCHANT_ORDER_CANCEL,

        // more message types can be added here
        USER_RIDER_ADDR_UPDATE,
        USER_ORDER_ACCEPTED,
        USER_ORDER_PICKED,
        USER_ORDER_DELIVERED,

        USER_ORDER_URGENT,
    }

    private MessageType type;
    private Object content;
}
